package com.punai.customer.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * 工序费用项关联类别对象 cus_link_subpk_category
 *
 * @author zxw
 * @date 2022-12-04
 */
public class CusLinkSubpkCategory {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 工序费用项id
     */
    @Excel(name = "工序费用项id")
    private String itemId;

    /**
     * 类别id
     */
    @Excel(name = "类别id")
    private String categoriesId;

    /**
     * 耗量
     */
    @Excel(name = "耗量")
    private BigDecimal consumption;

    /**
     * 类型(CL,JX)
     */
    @Excel(name = "类型(CL,JX)")
    private String type;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setCategoriesId(String categoriesId) {
        this.categoriesId = categoriesId;
    }

    public String getCategoriesId() {
        return categoriesId;
    }

    public void setConsumption(BigDecimal consumption) {
        this.consumption = consumption;
    }

    public BigDecimal getConsumption() {
        return consumption;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyId", getCompanyId())
                .append("itemId", getItemId())
                .append("categoriesId", getCategoriesId())
                .append("consumption", getConsumption())
                .append("type", getType())
                .toString();
    }
}
